triggerReport = function(reportName, reportType, resourceType){
	//"http://localhost:9090/report/" 
	var requestUrl = location.protocol + "//" + location.hostname + (location.port ? ":" + location.port : ":8080")
						+ "/report" + "/" + reportName + "?reportType=" + reportType  
						+ (resourceType == null ? "" : "&resourceType=" + resourceType);
	console.log("requestUrl: " + requestUrl);
	window.location = requestUrl;
}